<h1>Editing administrator</h1>

<% form_for(@administrator) do |f| %>
  <%= f.error_messages %>

 <table width="200" border="0" cellspacing="2" cellpadding="2">
	      <tr>
                <th align="left" scope="row"><img src="/images/star.png" width="32" height="32" /></th>
	        <th align="left" nowrap="nowrap"><%=  t('administrator.name')%> :</th>
	        <td> <%= f.text_field :name %></td>
        </tr>
	      <tr>
	        <th align="left" scope="row">&nbsp;</th>
	        <th align="left" nowrap="nowrap"><%=  t('administrator.lastname')%>:</th>
	        <td><%= f.text_field :lastName %></td>
        </tr>
	      <tr>
	        <th align="left" scope="row">&nbsp;</th>
	        <th align="left" nowrap="nowrap">ID:</th>
	        <td><%= f.text_field :ci ,:readonly => true  %></td>
        </tr>
	      <tr>
	        <th align="left" scope="row">&nbsp;</th>
	        <th align="left" nowrap="nowrap"><%=  t('administrator.email')%>:</th>
	        <td><%= f.text_field :login, :readonly => true  %></td>
        </tr>
	      <tr>
	        <th </th>
	        <th </th>
	        <td></td>
                <td><%= link_to image_tag("/images/back.png", :title => t('administrator.back'), :border=>0), administrators_path %></td>
                <td><%= image_submit_tag("/images/update.png", :title => t('administrator.edit'), :border=>0) %></td>
        </tr>
      </table>
<% end %>